package org.jeecg.modules.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.AutoRecordLog;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 出口报价单-产品报价
 * @Author: jeecg-boot
 * @Date:   2024-05-31
 * @Version: V1.0
 */
@Data
@TableName("buss_outlet_quote_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="buss_outlet_quote_product对象", description="出口报价单-产品报价")
@AutoRecordLog(value = 1,existParent = true,parentFiled="outQuoteId",parentTable="buss_outlet_quote")
public class BussOutletQuoteProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**物料id*/
	@Excel(name = "物料id", width = 15)
    @ApiModelProperty(value = "物料id")
    private String goodsId;
	/**出口报价id*/
	@Excel(name = "出口报价id", width = 15)
    @ApiModelProperty(value = "出口报价id")
    private String outQuoteId;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String spec;
	/**件/吨*/
	@Excel(name = "件/吨", width = 15)
    @ApiModelProperty(value = "件/吨")
    private String ton;
	/**包材*/
	@Excel(name = "包材", width = 15)
    @ApiModelProperty(value = "包材")
    private String packageMaterials;
	/**中间费用*/
	@Excel(name = "中间费用", width = 15)
    @ApiModelProperty(value = "中间费用")
    private String midExpenses;
	/**合计*/
	@Excel(name = "合计", width = 15)
    @ApiModelProperty(value = "合计")
    private String total;
	/**出厂价*/
	@Excel(name = "出厂价", width = 15)
    @ApiModelProperty(value = "出厂价")
    private String exWorksPrice;
	/**陆运费*/
	@Excel(name = "陆运费", width = 15)
    @ApiModelProperty(value = "陆运费")
    private String landFreight;
	/**不干胶贴*/
	@Excel(name = "不干胶贴", width = 15)
    @ApiModelProperty(value = "不干胶贴")
    private String adhesiveStickers;
	/**其他*/
	@Excel(name = "其他", width = 15)
    @ApiModelProperty(value = "其他")
    private String other;
	/**海运费*/
	@Excel(name = "海运费", width = 15)
    @ApiModelProperty(value = "海运费")
    private String seaFreight;
	/**coco费用*/
	@Excel(name = "coco费用", width = 15)
    @ApiModelProperty(value = "coco费用")
    private String cocoExpenses;
	/**版费*/
	@Excel(name = "版费", width = 15)
    @ApiModelProperty(value = "版费")
    private String royalty;
	/**保费*/
	@Excel(name = "保费", width = 15)
    @ApiModelProperty(value = "保费")
    private String insurancePremium;
	/**印刷费*/
	@Excel(name = "印刷费", width = 15)
    @ApiModelProperty(value = "印刷费")
    private String printingFee;
	/**佣金*/
	@Excel(name = "佣金", width = 15)
    @ApiModelProperty(value = "佣金")
    private String commission;
	/**其他*/
	@Excel(name = "其他", width = 15)
    @ApiModelProperty(value = "其他")
    private String other2;
	/**合计*/
	@Excel(name = "合计", width = 15)
    @ApiModelProperty(value = "合计")
    private String total2;
	/**业务员-吨数*/
	@Excel(name = "业务员-吨数", width = 15)
    @ApiModelProperty(value = "业务员-吨数")
    private String ywTon;
	/**业务员-吨价*/
	@Excel(name = "业务员-吨价", width = 15)
    @ApiModelProperty(value = "业务员-吨价")
    private String ywTonPrice;
	/**业务员-件价*/
	@Excel(name = "业务员-件价", width = 15)
    @ApiModelProperty(value = "业务员-件价")
    private String ywPiecePrice;
	/**业务员-实际报价*/
	@Excel(name = "业务员-实际报价", width = 15)
    @ApiModelProperty(value = "业务员-实际报价")
    private String ywActualQuote;
	/**是否符合政策*/
	@Excel(name = "是否符合政策", width = 15)
    @ApiModelProperty(value = "是否符合政策")
    private String ywisCompliantPolicies;
    @JsonIgnore
    @ApiModelProperty(value = "日志时间")
    private String logtime;

    /**
     * 父类日志时间-方便历史搜索
     */
    @JsonIgnore
    @ApiModelProperty(value = "日志时间")
    private String parentLogtime;
}
